{% extends 'ApiCloud/Base/layout.common.html.twig' %}

{% block main %}
    {% include "ApiCloud/Base/inc.head.light.html.twig" with {title:"材料回款记录",back:1} %}
    {% include "ApiCloud/Base/inc.file.base.html.twig" with {site:""} %}

    <div class="pad10 fs8 c12">
        <div class="list-style-1 mart10 pad5 fs10 c11">回款记录</div>
        <div class="flrc pad10">
            <div class="flex1">首笔70%</div>

            <div v-if="!isTrue(en.status1)">回款状态：</div>
            <div v-if="!isTrue(en.status1)">未回</div>
            <div v-if="!isTrue(en.status1)" class="marl10">
                <mu-button small color="success" round @click="setMoney(1)">设为已回款</mu-button>
            </div>

            {#<div v-if="isTrue(en.status1)">回款时间：</div>#}
            <div v-if="isTrue(en.status1)">[[en.status1]] 回款</div>
        </div>

        {#<div class="list-style-1 mart10 pad5">回款记录</div>#}
        <div class="flrc pad10">
            <div class="flex1">次笔20%</div>

            <div v-if="!isTrue(en.status2)">回款状态：</div>
            <div v-if="!isTrue(en.status2)">未回</div>
            <div v-if="!isTrue(en.status2)" class="marl10">
                <mu-button small color="success" round @click="setMoney(2)">设为已回款</mu-button>
            </div>

            {#<div v-if="isTrue(en.status2)">回款时间：</div>#}
            <div v-if="isTrue(en.status2)">[[en.status2]] 回款</div>
        </div>

        {#<div class="list-style-1 mart10 pad5">回款记录</div>#}
        <div class="flrc pad10">
            <div class="flex1">尾款10%</div>

            <div v-if="!isTrue(en.status3)">回款状态：</div>
            <div v-if="!isTrue(en.status3)">未回</div>
            <div v-if="!isTrue(en.status3)" class="marl10">
                <mu-button small color="success" round @click="setMoney(3)">设为已回款</mu-button>
            </div>

            {#<div v-if="isTrue(en.status3)">回款时间：</div>#}
            <div v-if="isTrue(en.status3)">[[en.status3]] 回款</div>
        </div>
    </div>


{% endblock %}
